From Marx to the Keynesian revolution: the key role of finance