implemented exporting
tweaked saving/loading a little bit