added schema validation using the schema file using schemagen

Added schema validation, with pbs.xsd generated using JAXB schemagen script.
Unmarshalled the the elements using JAXB.