Title: Foundations of the theory of signs