start pulling pattern generation into a service
get a nice stream of generated patterns running through
make a container class for the various pattern generation parameters
see if we can make it so two queries can be run successively with sane results