-Manually merged cloud9 code with repository code
-Added serverConnect function
-Renamed connect function to clientConnect