delegate to routes

added a routes skeleton

handler delegates controller function to routes and passes the request
to the returned function