Modelling and Controlling of Behaviour for Autonomous