got a common interface for the database adapter now