Created class main