added header files for each class definition and updated the cube header