Added sample config file
Added config dependency in the factory
Added chaining storage
Factory method updated