refactor  holmes-classifer module. Add Some integration tests