renamed types to avoid cmd line import errors
added support for getting the next_page_token