controller, routing, and db