Let $\sS$ be a countable, abelian semigroup of continuous surjections on a
compact metric space $X$. Corresponding to this dynamical system we associate
two operator algebras, the tensor algebra, and the semicrossed product. There
is a unique smallest C$^*$-algebra into which an operator algebra is completely
isometrically embedded, which is the C$^*$-envelope.