Add fields to the `ComponentBase` class: - `$id` - `$def` Handle: - internal references - external references (eg. http, git etc) (now only file references are handled) - $ref should only contain valid URI - handle cyclic dependencies Refactor the referenceHandler. Deprecate the baseUri field.