Modified DB connection class to use MySQLi