added simple-ansi lib and cleaned up comments