Better error handling in samples
Fixed link to code repository
Added link to github repo
Better documentation on syntax