Merge pull request #120 from DashaZhernakova/master

small changes in Beagle pipeline
added multithreading in Beagle