added the expansion device class and updated the circuit class to reflect the changes