General Relativity as a constrained gauge theory