+my $errch = new ErrorChannel;
+my $mapper = new SL::mebil::Mapping($errch, $dbh);
+
+my $command = $ARGV[0];
+if ($command eq "GetMapping") {
+ my $mapping = $mapper->get_mapping();
+ foreach (@$mapping) {
+ print $_->{fromacc}."\n";
+ }
+ die ("Kein Mapping vorhanden.") unless (scalar(@$mapping) > 0);
+} elsif ($command eq "CalcMapping") {
+ die ("NIY.");
+} else {
+ die "Invalid command: $command";
+}