Modified the parser, get set methods, xsd file for val, refactored