refactored specs; added module xml_parser
documented xml_parser