Started adding implementation for threaded background tasks