Some refactoring in rpyutils
Support for hostapd style config files