Refactored out controllers from spring-boot-cli and groovy-app