lots of changes, change targeting functions, lots of helping functions like sorting etc, not finished..WIP
still WIP for warriors control functions.. PART2
control commit