Added Exceptions types
Cleanup in example file
Added cache to git ignore