[WIP] - refactored ``ClassContentRepository``

notice this is a WIP, I need to check for the query which is executed.