Changed configuration to a configslurper.  Still need to work out how to sensibly place things after build (and make a working executable jar). Made onostart.groovy in to a real live class with proper camel case and all.