Generalization of Passive agent concept

We have generalized the concept of passive agent: it involved to factorize code
from SimpleWall example to PassiveAgent class.