updated gitignore to exclude os x files
v1 of sample fully working