Started to implement dynamic loading for plugins - not complete yet.