Added movement to projectiles, cleaned up code