Simple Android solution to pass background tasks into service, executing them and obtaining result in main UI thread.