setup and refactoring (cdi-beans as spring-mvc controller)