Cleaning up the code, working toward better PEP8 guidelines.

Added appsecret.py with a dummy secret key and removed exclusion from .gitignore.