Updated Hardware class in the program design.