Moved shared_ptr stuffs to mvcc.hpp