Fixed #39 (hopefully), added top/recent ratings options and started work on cloud code