Remove testlogic

It's outdated.
Revamped the communication protocol

Changed the command from integer to char. This makes more comprehensible
traces and simplifies code. Also, added better error reporting from server
to clients.