Building a basci Rest API with Spring