create service and alarm manager