Refactoring vaadin app servlet