More robust client() and more efficient handle()
Separated code to multiple sources, added functionality to server side
Updated server functionality, multiple source files