Added Palette class.
Quick documentation.