Merge extended back reference from ST3

- Also, modify plugin system and add example