Class contating public void main method