Added information to README.md, fixed crash when connecting to DB