small code refactor in plugin manager structure (better indentation and comments)