added support for localstorage

This PR includes:
- Basic support for localStorage (you now can refresh the page and reconnect to peers)
- Connection between peers support (If C connects to B, then A connects to C and viceversa)

:bowtie: