Added new constructer to AlarmModel