Server side for mobile app; contains ranking algorithm