Simple example showing restful api set up using spring and gradle