remove pyc files and update .gitignore