replace all logging facility to log4j
add -debug command line switch to dump debug log to a log file
bump to v0.0.8