Added create function to host and service

Change-Id: I630b62e324e362a79602cdea1759e7cedded6ab1