Refactoring documentation document addded.
Error fixing.