Defined connection factory, dao module, graphs module and associated tests