使得大部分参数可以能过外部的一个properties文件配置
1.now can use a property file to config the behavior of classes
2. fix a bug in FileProducerThread which will lead to  thread
contention.
missed some new classes in last commit
now add them