A client server application made in class