setting up app_config.py and removing unnecessary code.