Create classificationService.java

does the classification, write to file and calls upload and broadcasts msgs as reqd