Refactored add/edit/delete plugins #8