added spawning and controls of bot children