remove resource_rc.py and fix .gitignore