added some classes. server should work, the client has to be implemented