class with only static main method needs no constructor