[HG] Adding tcp support and refactoring objects and modules into own files.
[HG] Added documentation details.
[HG] Added documentation details.