refactoring models, ios8 changes and notifications actions