added getServiceByName method to interface