refactored the ANSI console; fixing issues with the ANSI string interpolation
updated to use refactored ANSI console