Use cog for extend
Refactor to an async api for plugin compatibility
Refactor examples to async api
gendocs
Added an example using kgo