Cleaning up the Viewport class. Moving the depth range to the class.
Adding tests for the Viewport class.