Refactoring MVP factory to view factory.