Fix templates basePath

Move folder templates to resources/templates