Generates the nodes in the Controller