update manage.py for refactored appstate/config modules