DBWriter(){
		try {
			Class.forName(dbClass);
			con = DriverManager.getConnection(dbUrl, user, pw);
			con.setAutoCommit(false);
		} catch (Exception e) {
			e.printStackTrace();
		}
		maxes = new double[11];
		
		//Obtain maxes from tweets already present 
		//This will be used to create attribute vector of tweet
		updateMaxes();
		
		//Fill HashMap of cities and their gps coordinates from pre defined citypop.txt
		cities = new HashMap<String,double[]>();
		fillCities("config/citypop.txt");
		//Fill HashSet of states from pre defined states.txt
		fillStates("config/states.txt");
		
		//Fill Hashmap of crime categories
		catmap = new HashMap<String,Double>();
		catmap.put("Major Crime", 0.0);
		catmap.put("Natural Disaster",1.0);
		catmap.put("Shooting/Gun Crime", 2.0);
		catmap.put("Traffic", 3.0);
		catmap.put("Non-Traffic Accident", 4.0);
		catmap.put("Theft/robbery/etc", 5.0);
		catmap.put("Drug Crime", 6.0);
		catmap.put("Investigations", 7.0);
		catmap.put("Other Crime Reports",8.0);
	}