Added unity controller factory to resolve dependency