fixed that fucking thymeleaf problem but its still ugly to manage templates inside resources folder