add a spring application with rest-controller