use DI container for injecting ViewEngine into View