   reqPoint = 'models/user'
   name = './event'
   reqFolders = reqPoint.split(path.basename(reqPoint))[0][0...-1].split('/') #remove name, last slash and convert to folders
-  console.log reqFolders
-  console.log toAbsPath(name, reqFolders)
+  #console.log reqFolders
+  #console.log toAbsPath(name, reqFolders)
 
+  tree =
+    name : 'app'
+    deps :
+      'A'  :
+        name : 'A'
+        deps : {}
+      'B'  :
+        name : 'B'
+        deps : {'C': {name:'C', deps: {'E':{name:'E',deps:{}}}  }, 'D' :{name:'D', deps: {}} }
+  console.log JSON.stringify sanitizeTree tree
+
+  return
 
 ###
 tree = {

coffee      = require 'coffee-script'
fs          = require 'fs'
path        = require 'path'
#detective   = require 'detective'
{compile}   = require './utils'





  getTree : () ->
    tree = {name: @basePoint, deps: {}, reqFolders: [], domain: @domainPaths['client'], level: 0}

    clearParentEntries = (treePos) ->
      delete treePos.parent # does not have to exist to be cleared
