Exercise

Addition of the exercise generation system.
Remove all uses of self.