Replace id by doc_id

I don't like when a variable or an argument is named "id".
Add requirements.txt for dev purpose