Create appmanager.py