Added credit/discredit rating and ranking system. Added looped correlation generation. Put JSON data into proper format