Created class Sha1XMLReaderWriter and some other refactorings