Refine layout an create colour pallet