Parallel write in storage class implemented + fiew simple refactorings