MODE-1806 - Changed the way the projections are stored/removed so that the information is persisted each time into the repository. This way there shouldn't be any problems if the shutdown of the repository isn't orderly.