simple rest service with custom callbacks, based on GCD and blocks