1) Move the logic for loading application from models.py to ApplicationManager.py