Viewport based on Panel.

Added layer structure and default constructor.