changes to add the BOW algorithm and convert over to using ServiceManager util class and detector and training data