Added ability to store classes after app closes