Improved imports and code readability in database_connectors.py