Created database connection