Refactored colors, added logger