Solution working with convention dependency injection and controller factories.