public Server(int port) throws IOException {
		if (System.getSecurityManager() == null) {
			System.setSecurityManager(new RMISecurityManager());
		}

		this.img = ImageIO.read(new File("." + File.separator + "fliege.jpg"));

		Registry registry = LocateRegistry.createRegistry(port);
		
		IGameServer stub = (IGameServer) UnicastRemoteObject.exportObject(this, 0);
		
		try {
			registry.bind("Server", stub);
		} catch (AlreadyBoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}

		/*
		 * +1 to counter the exlusive part in nextInt
		 */
		this.x = this.rand.nextInt(300 - this.img.getWidth(null) + 1);
		this.y = this.rand.nextInt(300 - this.img.getHeight(null) + 1);

		System.out.println("Server Ready");
	}