Lb 1384 Implement plugin system

Implement plugin system