Extracted console from gremlin-groovy to gremlin-console module.