add gateway and hub as dependeny