Start of encapsulating the generation of ANSI Escape Sequences