Added GPS, wifi, and hardware basic function code