Fix for date serialization error, plus real total point calculation.
Adding some initial score logic into the APIs.