Added a serialization feature
Save and load animations. A bit buggy still