Added missing references after changing the structure of the project
Added parallelization to some of the foreach statements in the Loader