Merged client and server files to one

Allows to unify profiling and setup code
Notify test + zmq
Test calls