separating the method setup from the configuration call. using the class name as the groovy file added some weird class definition bugs