Factorial REST server