adding some rules to .gitignore, adding more info to README and adding some doc to the main script.