Add comments and call setup_api_roots
Add api roots configuration file
Use api roots in the url_generator
Load api configuration file