Added weapon system as well as a function gun.