Framework edits to separate builder and library classes
Created caching system speeding up frequent-snippet generation for 26 difficult iterations from 9mS to 2mS