refactor DefinitionLoader and OuterParser to have more granular dependencies
Merge pull request #900 from dwightguth/backend

refactor DefinitionLoader and OuterParser to have more granular dependen...