Refactored IConfiguration to implement Configure method.

Changed ITryConfiguration to create ITryBlock

Added Factory class.