WIP xml to db store