Updated the python script to be more compatible. Refactored some of the
DB specific data to start facilitating plotting of graphs from the
different data sets side by side.