Working on main generator
Added main generator
Added main generator