Add alarm functionality

Improve functionality of alarms via the config hash