public void readConfigFile(){
		configs = new HashMap<String,String>();
		try {
			BufferedReader reader = new BufferedReader(new FileReader(new File("config.txt")));
			String line = "";
			while ((line=reader.readLine())!=null){
				String []split = line.split("::");
				if (split.length>1){
					configs.put(split[0], split[1]);
				}
			}
			reader.close();
		} catch (FileNotFoundException e) {
			log("No config file. Will create one.");
		} catch (IOException e) {
			log("Couldn't read config file");
			e.printStackTrace();
		}
	}