Add factory to build ControllerContext object