Added index fn.
Introduced ns url and iframe.