Bug fix on Controller class (lack of proper Exception namespace)
Now is possible to change the default database configuration by overriding get_db_config()