Converts GetTask handler to app context handler.  Adds GetTask to database.