Refractored partially Map class. Fixed access to the MapMatrix, WasVisited and IsShown.
fixed other classes