Created new class 'Main'