Adding new Preference class