Calling configure_mappers() solves the ORM issue

Removed the old database module, and use the new module instead.
The unit test were updated as well.