Add install/uninstall targets to Makefile and move treebuilder