Initial MongoDB re-write, short TODOs