Update and rename node.cpp to sensor.cpp