Added support for colors, and better logging