Fixed issue when sending email
Now the app config is loaded before the home config to allow reading the appname from the home config
Avoid finding files in hidden paths
Added init resources to create a copy of the html and css templates in the local path