Updated our code for the new API
Wrote some code to calculate points (but it isn't working yet)