remove *.pyc and fix .gitignore