added base_app.py and templates