move generators to lib/