Added Inheritence to Classes