First try to improve AI. Does not work yet due to strange bug in physicsystem