[Spring Boot] Refactoring and comments.