new class Bone and updated unit ai