add license
simu: today's final attempt to fix alarm/events