Fixed wpa_supplicant call. Added classes and refactored some of the code.
Fixed wpa_supplicant call. Added classes and refactored some of the code.