Refactors connection operations into the `connect_to_database` method.
results_processors
output_processors
__init__