refactor preferences

* removed simple-json dependency in favor of google gson
* removed version5 from preferences path
* all access to preferences should be done through the Preferences
singleton