Session management addded.

Now session creation requests provide random peers.
Also updated application code flow to make  code a lot more readable
dividing code into node.js modules to be reused.

Need to improve readme documentation