fixed thelog file path issue.
removed some warnings.
ignored cscope files.
resolved some more warnings.
renamed client.c to mtc.c.
added documentation.