Started work on document model