refactor all the things. Semi generic data vis and export for sessions and contexts