converted ServerHandler to use class methods;
implemented generic GET method