Changed save/load + added generate sourcecode