Structural model of the psyche