An example of using Dependency Injection and Inversion of Control in a Node.js application