Refactor response, RequestHandler interface with get and post handlers