refactored instance import, csv handling
chart merged in and time-carrying should be working
csv link
fixes to json generation