add pluggability for hostApp