Imported and refactored parts of the Groovy module into this one.  Not working yet, but serves as a framework to develop onto.