add read function to Document.py
add models and controllers