@SuppressWarnings("deprecation")
	private DBCollection connectTo(String DB, String col) {
		MongoClient mongoClient = null;
		try {
			mongoClient = new MongoClient("192.168.0.199", 27017);
		} catch (UnknownHostException e) {
			e.printStackTrace();
		}
		DB db = mongoClient.getDB("admin");
		if (!db.authenticate("sa", "sa123".toCharArray())) {
			System.out.println("MongoDB auth failed!");
		}

		db = mongoClient.getDB(DB);
		DBCollection dbcol = db.getCollection(col);
		return dbcol;
	}