Add in DB abstraction layer to fix connectivity issues between web.db and mysql.