Refactored groovysh.rc to contain MV class with static methods instead of a bunch of macro defs