added the possiblity to register services with an factory/constr without using a parameter