groovy-vied script a bit
refactored the local repo creation into its own task