Add insert to database
Add document retrieval