Device device = new Device("storescu");
Connection conn = new Connection();
device.addConnection(conn);
ApplicationEntity ae = new ApplicationEntity("STORESCU");
device.addApplicationEntity(ae);
ae.addConnection(conn);
StoreSCU main = new StoreSCU(ae);
configureTmpFile(main, cl);
CLIUtils.configureConnect(main.remote, main.rq, cl);
CLIUtils.configureBind(conn, ae, cl);
CLIUtils.configure(conn, cl);