moves everything into one URL, and serves an API at /api.