change terminology to plugin, not extension
refactor
clean cruft