An API framework with extreme flexibility