Implemented Wifi scan