Initial commit of core code and libraries.
Merge branch 'master' of https://github.com/lcoghill/treemerge