Adds API root endpoint; better pagination