modified app settings and main.py for gae deployment