[WIP] New direct to DB writer