Implemented to_xml() methods for all previs classes
Implemented from_xml() methods for all previs classes