Added class for 2d map representation.