Added the basic structure of a generator