This is an old example of someone trying to replicate some of the TaskPaper functions with a web based program and BIRCH.
@cryogenicminer, you should check that out before you spend too much time re-inventing the wheel. At the same time, just beware that one of the amazing things about about TaskPaper is the ability to do some pretty complex searches. I believe that you cannot accomplish that with BIRCH.