Polish up code so it works nicely with Spring Boot
Fix bug in configuration
Update gradle build to work with Spring Boot