GROOVY-6752 groovysh: restructure Main.groovy: Do not install AnsiConsole in static initializer
Allow subclassing