extended with two other services, now returns several ports if there are more then one, added factory endpoint (to be discussed)