add: database collection generating and exporting