Refactor gedPlugin

Not yet working !