init_db file updated, database models outsourced, index list routing