Global actions: the algebraic counterpart of a topological space