Interface and Collector class added.
Merged two version of XMLFactory
Fully integrated Interface with Collector and new XMLFactory class.

Minor bugs may appear.