API Routing boilerplate