Finishing loading the JSON map data. Added some more comments to the code and made it prettier.