refactor masheryApi
more cleanup
simplify
push paging logic down to command object
remove unsed function