Refactoringtrees

Thread issue is resolved, collada and obj tested to work as well