renamed some constants
added --next option (get next page)