Implemented basic spring MVC java based configuration