Extracts Shared Prefs responsibility to new class