add index, table, db classes and console commands