refactor server flow

wrap request, router, and logging in RequestPackage interface
wrap response and responder in ResponsePackage interface