Provide dedicated conf classes for WebMVC and security setup. Switched from Freemarker to Thymeleaf as template engine.