Added parsing of instructions from xml files, and resource files with samples