add subgrid for showing vouchers, separate queryDB.js into several files