Class lineage

- Added lineage for classes