prepare merging and fake commitment object

Signed-off-by: Hui Zheng <hzheng@wpi.edu>