refactor classifier interface, more tests on ctree