Introduction of simple extensibility and configuration. Requests are rewritten to use xhr.php as a controller.