A Rewrite of the connection handler (socket stuff)
Added wifi service