Zaslat SMS: Algebraic structure theory of sequential machines