refactoring, plus add pelican project for document creation