Setting up the framework to save.