Initial commit of class to build tree from image metadata