Platform p2 = new SimplePlatform();
Platform p3 = new SimplePlatform();
klbgWdlg.addPlatform(p1);
klbgWdlg.addPlatform(p2);
klbgWdlg.addPlatform(p3);
Rail p1r1 = new SimpleRail();
p1.addRail(p1r1);
Rail p2r1 = new SimpleRail();
p2.addRail(p2r1);
Rail p3r1 = new SimpleRail();
p3.addRail(p3r1);
System.out.println(klbgWdlg);
}