Better  document analysis and much refactoring