Initial work

Initial skeleton including a preliminary implementation of Merge.