Updated Gemfile and gitignore
Compatibility with sessions.
Added various configuration values.
Added session handling to client side library.