Add alarm server example code