The field theoretical formulation of general relativity and gravity with non-zero masses of gravitons