Added Score class, function comments.