#70 and first commit on #21 (still cache config and thymeleaf support)