Add more documentation comments, refactor constructors in the
controller classes, and add an icon for CSV download.
Ignore the customised database.php file.