Rework plugins archi

Using class to define plugins.
Autoload plugin config files.
Check if initialize function in plugin exist
Move config require to scope of plugin
Add first tests