Implemented most of the functionality for a basic web browser view controller.