override cat's default log file dir
modify some logging
make class and port arguments
Merge pull request #133 from marsqing/master

override cat's default log file dir