Foundations of Relativity