added documentation about database access and models