Refactored so that the alarm is set within an Alarm class
Began work on saving app state data to a file on exit