Basic structure of mobileApi and userPreferences