create Main class