Seperate the CollectionData to two class.

- CollectionData
- Generated