move page list size to a constant
merge response codes
cleanup