Updated prototype.
Added example files.
Added some ctree tests.