Mind Dynamics: towards the Theory of Unification