Osng 480

This pull request contains the new plugin mechanism. 
"Registration Plugin API" might be a better name