Scripting puzzle pattern database

I would like built a puzzle match database where structure patterns are submitted
and the program builds a database that is easily accessible from scripts. To do this
real time will not work, too time consuming.
Fields of the database are: user submitted/structure/sequence/sequence probability/# time used/#times used per puzzle solution.

rnjensen45 does something like this in “Puzzle Match v1.3” and I would like to expand the concept to remove the processing issues.
Any feedback would be helpful.