[REFACTOR] Cleaned up the display of the author api demo, added some
comments in the code etc.