created client server classes