Split the static main method into a new class.