bunch of things

refactored stuff in logic.cnf - moved each thing into separate files,
expanded their match statements to handle all cases, wrapped stuf in
validations.

did some stuff to the logic.fol package - mainly renamed a function or
two.

new pipeline mods.

did something to transforms.