ConnectToServer

Takes it out of main activity