Adding in index.html and index.py changes, restructure of templates and 404 method