added functionality to to/from repo for loading an editor separately from the cache (still backs up to cache so existing code should still work)