I finished coding the most internal part of…

I finished coding the most internal part of this project. Three functions responsible for: moving, re-parenting and getting a sub-thread rooted at the given comment. So far it seems that they all work correctly, but I will test them a bit more this week. The most tricky part was getting a sub-thread, to achieve this, I used custom Walker class which instead of html output, generated valid JSON object, which is then decoded to PHP objects and represents structure of a thread.