History of the general theory of relativity with contributions from Albert Einstein, Marcel Grossmann, David Hilbert and others