Proper error handling when database is not running
Remove useless config files
Merge pull request #189 from Masadow/deleteConfig

Remove useless config files and legacy code from previous trigger systems.
Merge pull request #188 from Masadow/mysqlFix

Proper error handling when database is not running.
Close#152