introduce a configuration class

Introduce a configuration class for the client. Add specs for it as well.'
Merge pull request #6 from theckman/add_configuration

introduce a configuration class