Refactor Plugin classes to their own namespace