Fundamentals of Diophantine Geometry