refactoring, db address from app.conf file