Couple of updates to factory and schema.  Fixed sgen_work to work with new spl lj potential interface.