move stuff around to simplify app management
Fix wsgi.py
Fix build.sh