Added canvas to draw the map. Added functions to draw map