added source code examples based on the first Q&A session
more accurate comment
rename and reorganize things
remove unneeded file