attempting to break out the mysql database connection from the batting classes