remove pyc and idea files and add .gitignore