Interface classes for any kind of database