moved database connection constants