Added basic threading for metrics and score.