The minimal cpp files needed for a ROS node:
Run
catkin create pkg <pkg_name>
which will create the following structure:
catkin_ws/ - <pkg_name>/ - - CMakeLists.txt - - package.xml