Redo AI of shadow clone. Wrote separate AI class.