Created a functional basic AsyncTask solution.