Add API endpoint to get all frontends or backends

See updated README for details on the new API endpoints.