Added logic to views, broadened nokogiri scrape method