Osng 480

This pull request contains the new plugin mechanism. 
This method is not thread-safe but is potentially called by multiple threads. this could lead to weird behaviour. this method has to made thread-safe!