a moduled wifi manager written in c language