Load database configuration. Fix #3