Move groovy processor to util package