Adding Object Factory methods to NumericalIntegration class

close #19
close #20