add c5 scoring impl

add c5 scoring impl