Refactor classifier so that classifier trained by Yahoo News can be used later.