Connection to DB and reading from it has been implemented.