Added model generator

Just figured it might be nice to allow using a generator for creating active_node models.