Added basic scoring functionality