Adds abstract class Machine and its subclasses SimpleMachine and ComplexMachine.