Refactor and separate the session from the client
Merge pull request #6 from suguru/refactor-and-separate-session

Refactor and separate the session from the client