implemented config file for getting DB connection settings