public void storeSMS(HttpServletRequest req)
	{
		DatastoreService datastore = DatastoreServiceFactory.getDatastoreService();
		String msg="";
		
		String disease, age, location, riskgroup, vaccine;
		disease=age=location=riskgroup=vaccine=null;
		Entity en=new Entity("inboundSMS");
		  en.setProperty("number", req.getParameter("msisdn"));
		  msg=req.getParameter("text").toLowerCase();

		 String[] tokens= msg.split(",");
		 if(tokens.length>1)
		 {			
			 for(int x=0;x<tokens.length;x++)
			 {
				 //if we find age in the token, we can extract the age
				 if(tokens[x].lastIndexOf("age")!=-1)
				 {
					 age=tokens[x].substring(3);
					 age=age.trim();
				 }
				 if(tokens[x].lastIndexOf("riskgroup")!=-1)
				 {
					 riskgroup=tokens[x].substring(9);
					 riskgroup=riskgroup.trim();
				 }
				 if(tokens[x].lastIndexOf("location")!=-1)
				 {
					 location=tokens[x].substring(8);
					 location=location.trim();
				 }
				 if(tokens[x].lastIndexOf("vaccine")!=-1)
				 {
					 vaccine=tokens[x].substring(7);
					 vaccine=vaccine.trim();
				 }
				 if(tokens[x].lastIndexOf("disease")!=-1)
				 {
					 disease=tokens[x].substring(7);
					 disease=disease.trim();
				 }
			 }
			  en.setProperty("riskGroup", riskgroup);
			  en.setProperty("disease", disease);
			  en.setProperty("location", location);
			  en.setProperty("age", age);
			  en.setProperty("vaccine", vaccine);
		 }
		  datastore.put(en);
	}