Got message passing working, though still missing a tree generation system