Changing Pagerank to match class name and filename, and merging it in with the (unnecessary) trait