Replaced temporary PDO wrapper with KoolKode database connection.