Creating newCore Groovy