moved code from src/main/java to src/main/groovy like other gorm
implementations