db_init: iterate over all class names