ViewFactory is a static class now