Added Viewport class for supporting viewport areas for rendering.