General class for database inclusion