Skeleton code for the database abstraction layer