Replaced Controller annotation with RestController