basic db support/model for qas, with create and index