MVC framework in CoffeeScript with Dependency Injection