Added RecvLoop, SendLoop , HandleLoop functionality addition to basic code base.

needs to debugged and tested irl.