Add a ResultFactory to easily create ResultInterface instances