Your 4.Nd5 was awful. He should have taken your e-pawn,
there is no tactcial comeback, and walloped you.
As it is you won the game so no leasson learned there.
So have to say it again. Your 4.Nd5 was a awful move,
it was actually worse than leaving a piece hanging.
You can overlook losing a piece but you played 4.Nd5 on purpose.
If it was played to set a trap I'd give you 9/10 for having the balls to try it.
But there is no trap.
It's just a crap move and moves of this type need to be removed from your game.
Sorry to labor the point but as I stated you won this game so if
your face is not rubbed in it then you will do it again and again
till you get scudded.
In the opening it's all about hitting and covering central squares.
The Knight on c3 protects e4 and attacks d5.
A Knight on d5 in this position is a clown.
You cannot attack or protect squares by sticking a Knight on them.
4.d3 5.Nf3 6.0-0 how hard was that?
Then you can start messing about all you wish, but your first
10 moves should be soley directed at central development.
(delvelop your bits so they aim at the centre - not sit on the centre).
The game was still in the balance till he blundered his Bishop.
In this position. You played 23. Rh5.
You quickest wrap up was 23.Rg7 Ke8 28.Rg8+ Kd7 29.Rf8
and I think this is the position another poster had in mind when he
said Black's back rank gets tied up.