Created a base persistence class with save functionality in preparation for adding in an OptionsStore