ROS::spin() method added to constructor