initial refactoring of mavenize-module.sh