Spring configuration was moved from xml to java
Configured REST app without xml for servlet 3
Revert "Used @RestController annotation that combines @Controller and @ResponseBody"

This reverts commit 71572d416a2366d112818992e4a0e734025dd76f.