refactored spring-boot wiring dependencies