add delete function to the wifi manager, add system control for using the wifi_manager, correction of minor bugs.