moved alarm config to alarm class