Added job queue, worker, tcp session and the profile of the session handler. Also fix a bug in log system.