database connection barebones.