Remove unused arguments and imports

To improve efficiency, a small clean up is done.

1. The "daemonize" option is considered useless and removed.
2. Some useless import statements are removed.
Merge pull request #26 from yookoala/master