Refactored the projectile launching system