Changed the relationship between Task class and TaskVersion class. Not inheritance anymore.