extracted getConnection to its own singleton class