Rewrote student homework API to use the async module.