Removing dependency of database on context
Revert "Removing dependency of database on context"

This reverts commit eff1578f484c96cc97afb14c6f170f1ccafbb9a2.
Remove options duplication
Revert "Revert "Removing dependency of database on context""

This reverts commit 8053d0224d81d2e06b5ac5e4c141584683eb19a1.
Database is readable with read preference