patterns#show works; added non-persistent classes for generator models, helpers for math/initializing