1. create cmdargs.py to process cmd args.
   spider.py only cocern main process.
2. add logging