Adding Async Task Pattern API for communicating with Mega (wrapping the existing asynchronous API)