Database connection and inserting players, teams, and events in the database