Add an mstore command with a todo dbcopy command. Also cache database instances in mstore.