Reworked Parse function to use objects, (as ref-classes)