Invia SMS: Algebraic structure theory of sequential machines