added pages to the API. Close #226