added ParsedObject and refactored parse class