Finishing the document model and started work on the ApiBundle