migrate to use spring-boot