I'd love to help you integrate the nip-104 MLS stuff when it's time. At the moment though, I would definitely not recommend trying to integrate what's in the spec as much of it has changed already in my implementation. I'm still working on the implementation so as soon as that's ready, I'll have a bit of library code that will help you integrate more quickly and, like I said, I'll be happy to help out as much as I can.