created stub for closer method and class, under persistence (makes sure
that all current changes have been saved, and closes the program)