added in usage of mongoid-tree which is awesome. combined with george's code