Refactor LayoutTree to LayoutGraph

 - Cuz it ain't a tree :)
 - Update unit test
 - use layout/ dir