Along with moving the code to the dbapi, the url needs to be moved there as well.