Data logging works

All of the relevant info is printed to file. Also changed it so that each
class return twoi separate lists for the state values and state names,
instead of one list or one dictionary.