Save and load states (WIP md5 verification)