Added stop function.
Added functionality to remove plugin.