+Added database connection factory idea.