init Host

private val initHost: () -> Unit

initHost function to init correctly the host value