Implementing Spring MVC beans