added basic impl for services discovery