Added templates dir and templates configs to settings.