public Loader() throws MessageStackException {
		copyFile("map.txt");
		copyFile("community.txt");
		copyFile("events.txt");
		if(isSerialized()) {
			try {
				//reads serialized data from monopoly.ser to get every map data and player data
				ObjectInputStream serializedFile = new ObjectInputStream(new FileInputStream("monopoly.ser"));
				go = (FieldCircularList) serializedFile.readObject();
				jail = (FieldCircularList) serializedFile.readObject();
				event = (CardStack) serializedFile.readObject();
				community = (CardStack) serializedFile.readObject();
				playerHashMap = (HashMap<Integer, Player>) serializedFile.readObject();
			} catch(IOException e) {
				new File("monopoly.ser").delete();
				throw new LoaderException("The problem occurred while reading the file monopoly.ser.", e);
			} catch(ClassNotFoundException e) {
				new File("monopoly.ser").delete();
				throw new LoaderException("The problem occurred while reading a class from the file monopoly.ser.", e);
			}
		} else {
			//creates a new MapArrayCreator, gets every map data and creates/connects a new map.
			//newly created data is serialized and stored in monopoly.ser
			try {
				//TODO load files in three threads and check for a.join(), b.join() c.join()
				MapArrayCreator mac = new MapArrayCreator();
				event = new CardStack("events.txt", "Event Karte");
				community = new CardStack("community.txt", "Gemeinschafts Karte");
				new Connector().connect(mac.getMap(), event, community, playerHashMap);
				go = mac.getGo();
				jail = mac.getJail();
				ObjectOutputStream serializedFile =
						new ObjectOutputStream(new BufferedOutputStream(new FileOutputStream("monopoly.ser")));
				serializedFile.writeObject(go);
				serializedFile.writeObject(jail);
				serializedFile.writeObject(event);
				serializedFile.writeObject(community);
				serializedFile.writeObject(playerHashMap);
				serializedFile.close();
			} catch(IOException e) {
				new File("monopoly.ser").delete();
				throw new LoaderException("The problem occurred while writing to the monopoly.ser file.", e);
			}
		}
	}