GroupPixel class moved to its own file