Added comments to the json method, and cleaned up the 404 for the amaint course methods

Should make it a little easier to understand.