added data storage, implemented add/delete/get alarms