MongoDB storage written but untested. Comitting as WIP.