Friends, let’s be honest, there is NO easy way to write an LSP application on your own. An accurate figure that I have seen recently is 3 months; it takes 3 months to write an LSP application on your own.
Now, I am not saying that this is impossible or even that you should not do it. I am just saying that layer service provider development is difficult and not to be taken lightly.
Fortunately for you and me, when we want to learn how to write LSP, there is a resource like Komodia available.