Adding listeners for client interaction
Adding wrapper and session structure. To run just do 'node wrappers'