Added error handler and exception handler

Closes #9
Moved common class initializations to bootstrap
Separate error functions

Splitted the error() function into two separate ones:

* not_found_error()
* forbidden_error()
Use settings.yml instead of settings.ini