Index, initialize and enable plugins

Plugins will be indexed and initialized.
They will also be enabled if their status is set to 2