Adds stack, middleware, logging, and recover implementations