Application logic has been completely changed. All the data operations have been moved into factories. Modal controllers and templates number have been decreased. Add and edit operations have been matched together