Save matches and players to database