Basic persistence and REST api configuration using spring data and spring mvc.