Added base for a generator
Added Module class