Code simplification

Lots of .py removed, now its much simpler. To plot histograms use
'mine.py'. 'main.py' loads some libraries and opens the connection with
the database. To generate the map plots, use 'case_study_coords.py'.
The rest are map reduce codes and other support and data files.