Changes import settings in database module to be explicit. Adds settings namespace to references to settings within the database module.