Hiearchical Overlay For Service Composition In Pervasive Environments