Create cmaintable.hpp

Model class for the main table