Add status endpoint, mess with the rootdir