Pull preferences into their own class