Create class Main