added team support, new spawning system