create basic document structure