[API] Reorder some sections to be more straightforward

After explaining how to write a simple hello-world, it's nice to have an
explanation about how to compile it, instead of going on and on with
the blabla about callback functions.