Added functions for color rendering
Moved color facilities to another module