Add ability to select adapter other than mysql

Lays the groundwork to add other adapters as well