Factoring out driving the databases