Adds batch write command. Refactoring