added home page
added prefs controller
added prefs handler