The routes module has a default implementation for the db dependency (app module should not know about internal storage mechanisms). Moved Neo4j URL to its own configuration module and added / tightened some of the JSHint rules.