Allows node to understand multiple sessions

Closes #146 
Can you rename this function to `createSession`?