New code split

* messaging code split in a different file
* updated client side to generate uniq id
* updated server side to include source id
* including jQuery
Added client registration