casmi extension module for database