WIP: Data file building from editor, but needs debugging