Merge pull request #3 from alexander-myltsev/master

First bits of OpTree implementation