make AnsiControlSequenceFactory an interface, provide default implementation with DefaultControlSequenceFactory