basic mvcc

@xiangli-cmu 
Resolved.