Implemented IoC wrapper.
Moved SubclassComparer to its own file and added test for it.