Feature/exporter

Added json and csv support.

Issues #7 #17