added unit test and Spring MVC first iteration implementation