major overhaul of RateData class

creating scripts/functions and modifying classes for easier processing
of data