Add db support to store packing