Create config file for database creds, fetch date