Refactor plugins dirs structure