Added option for read-only databases
Merge branch 'feature/add-read-only-option'