refactored api for RestKit inverso