Moves ClientConnection to seperate file