Reverted some changed in relation to the loader being locked. It needs to be locked because we are using instance variables. It will be possible to load multiple containers at the same time, since we can create multiple Loaders.
Issue #5 - Add safeguard conditions to the RepositoryManager
Add unit test (Issue #5)