Added save and load functionality to app.