Added trendz page and cleaned up some code