Migrate route/data.js to using router pattern

Using express.Router() allows us to modularize the application extensively.  This PR migrates data routes to using the router pattern.