RythmPreferences class creation