Move parse scoring functions into distinct file