Factory method to create Contracts instance.
Optional
the configuration for the Contracts instance
the Contracts implementation
Factory method to create Contracts instance.