Simple dependency injection for node