Created a machine class and machine component classes.