Turned the preferences class in to a static class and added a base view class to cut down on repetitive render methods in views.