sliced Generator class out and created generate script