Started writing changes to JSON, added archive system