Added the pixel base class and it's tests.
Modified the PixelLayout class so that it can accept dynamic layouts.