updates to plugin and archetype to support new module linking