Moved all color management to a singleton class