added class for tag emulation + example

Signed-off-by: Armin Wieser <armin.wieser@gmail.com>