Added headers to service, created helper functions for testing, implemented mozAlarm.