use slf4j for logging. add cmdline options