server app refactor and responder app