Filling the Alarm class with basic methods