working main.html as base template. added pycache to gitignore