Main class with main method