Bumping version to 1.0.2
Adding gitignore file. Adding some variables and error checking. Adding some exits.
Merge branch 'hotfix-1.0.2'