cleanup of main.cpp, SolidCube.cpp and SolidSphere.cpp