Make poirot backend configurable for poirot web app