Refactorings and new stuff to HummPlugin system class.