Behaviour manager for creature

Merged back into working