CSV and graph update

Major overhaul of data to read from .csv file and added functionality of
update graph to the click handling