Add the possiblity to add plugins the same way we add hooks.

This commit aims to allow a user to add plugins the same way one add
hooks.

Please see #7 as it depends on it