Adding save and load functions. Others changes.