add hostapd class. many refactoring will come to simplify adapter class