laid out ServerHandler class