Create document shell