Added PDO connection implementation