Seperated GenMap to another class as GenMap will be used for other things later and we dont want to go through the command.