adding time response
significant refactoring of class that builds the server