move prefs into their own class

*keeping util methods for lazyness

Change-Id: I39d5c56b43e32888d1a9a2de06741687d58d695c