Node.js module for dependency injection