Plugin Rewrite

Rewrited Plugin for modular use