added a new class called Weapon