Add Settings class. Add check for GooglePlayServices. Do minor refactoring.