Added Abstract class Preference and some subclasses
Added iconic buttons of the preferences
Cleaned up some code