self-executiong container to use client code in browser and server
connection process sorted out