add config.py and templates