Alarms implementation. Some final make-ups.
Signed-off-by: denis-m-tyurin <denis.m.turin@gmail.com>