getting the ecs working and adding behaviour tree prototype