basic error handling, improved gitignore and readme
Merge pull request #1 from dlajarretie/master

basic error handling, improved gitignore and readme