Add BodyNode::dependOn() and some comment.
Move definitions of functions to cpp file (BodyNode).
Remove unsued line.
Clean up BodyNode.