Some fixes for the API

Remove a lot of unneccessary comments. Remove some unused functions.
Fix the task score request for new tasks.