Implement scoring

Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>