Zander ai logic

merging logic branch back into zander-dev-test