made user/computer_weapon and battle classes