Added editor class and colour pixel functionality