Alar Shared

This code is for private use just because I cant figure HOW someone can use it outside of its very specific scope and because I DONT want to maintain it for someone else nor documet it.
That said, if you find a way to use it, you are absolutely free to do it.
Just REMOVE any reference to me. If you find bugs or if you improve it, I appreciate if you let me know about it.