Entity correct inheritance. Added quantity & name encapsulation.