add prepare-tree script

this puts a project into the source tree so it can be built