custom configuration factory

This modification make possible to create your own configuration factory class. That way, you cannot depend on .xml files to build your diff scripts.