Examples scripts moved to external files for testing of qvs parsing. Minor changes to source files