extracting nedb so it can be loaded from an existing resource easier