Began transforming the AsyncTask class to assume the role of both AsyncTask and Promise.