Refactoring.

Added more comments, removed the now unnecessary View Environment
class, and improved the Url plugin.