Adding debug routes and adding calculate score to the Stats library.