add support for hostContext
add examples directory tree