began working on multithreading

began working on multithreading for streaming sources