Pluginize interfaces and imports

- Refactor some code

Signed-off-by: Gustavo Jaruga <darksshades@gmail.com>
Signef-off-by: Charles Oliveira <18oliveira.charles@gmail.com>