Update .gitignore and remove pyc files