Representations of topological algebras