implements active record validations..
primitive datatype validations and initial documentation skelton
xsd validation and attributes validations implementation