Map Code rewritten

Code for holding map data has been segregated into sections.
Check the code for getting visible sections.