Map generator class