Split map generation into two parts

First part calculates the height values for each tile, second part
creates the brushes with the displacement maps.