Moved database connection up + passed configuration to module