Added functions for removing players and particles.
Added raycasting code for projectiles