Create class.cpp

implementation of Class class