refactoring - moved groovy into src/main/groovy and added groovy compiler plugin