starting a client lib module
Merge branch 'add-client' into cleaning-up
refactored createSession implementation to use new Client