Updated init node and updated code from branch develop_test_node