Theory of Relations