This module manages the database stack