refactoring App object
added thymeleaf-shiro plugin