Added automatic search for configuration file with database settings