Added docs code.
Using HAPI as the API router.