Moves ClientConnection to separate file
Move helpers to separate file