[SPRING-MVC-TODOS] Refine the config to annotation format