delegate to routes

added a routes skeleton

handler delegates controller function to routes and passes the request
to the returned function
Merge pull request #2 from zachmokahn/implement_routes

delegate to routes