Move hostapd configuration parser into separate file