added registerControllers as a list of triples or pairs