made basic client and server classes