1. Add *.pyc in .gitignore;
2. Move template files to app dir;