Implements basic client/server classes and tests