The Color class is refactored and documented