Making Device class independent Context class. Add wifi scan in
NetworkManager.