Switch to using Thymeleaf for templates