Working API funnel.

API calls are handled by the api.js in routes. It redirects via function suite to the appropriate API, meaning no app.js editing is required. To add an API, add it to the function suite and write the API.