Grid and map class created.