Revert "use groovy version 2.3.8"

This reverts commit fd4d42bf3eef5db2c1796ce004094b815e25b995.
Make CreatorMap a Java class.