create simple connection manager, encapsulate client server code
Merge pull request #15 from TheTaz/connection_manager

create simple connection manager, encapsulate client server code