Change factorial example to new eventloop