Further refactoring. Document now implements IAssetProvider. Current Runtime errors during load/save