So long story short. Groovy is going away and edge drivers are the replacement. They use lua and run locally on smartthings hub.
Here are some links.