Implemented backend for country scoring.