send json file for download after units export
make webroot configurable just in case apache is set diferently
Introduce the use of controllers and move HTML to View
log exception
remove comments from htaccess
autoformat
Merge pull request #97 from cyriltata/develop

More separation of logic from HTML