Built a Rest controller.