Refactored Viewfinder view to use the new View class.