Use datasource class for connection