finished wiring up client to server
resolved #46