add dependencies and RestController