Adding new listeners to event recieved calls and making naive bayes service reachable and testable