Added Palette class