Add Event and Device

Signed-off-by: Ricardo Leitão <rleitao@lqd.io>