added multithreading to load pictures in async way