Connects to server and client

Still needs work