Implemented Listener and Client classes and register, drop methods

Listener and Client classes have been implemented. Implemented methods
register and drop, that should allow creating connection between two
hosts.