viewer working as a plugin

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>