Code style cleanup
Changed to better recommendation algo and also made a few UX/UI tweaks.