add Threading class to compute image asynchronious