Adds subclasses for Data and Learner class
Resolves conflict