Create classMain