created properties.json, refactored call to mysql.createConnection to get db credentials, hostname, and db name from properties.json