Generators

now that this is part of Pivotal, I'd appreciate a code review @oniofchaos @rreas @samnang.