Pedagogy and psychology of primary education