Worked a bit on plugin system

Started the plugin manager and added ID field for the plugin model.