Alarm functionalities

added alarmManager member functions that implement the core
functionalities of the class