Class sava/load and repackaging