Updated the configuration

added basic validation and more keys
migrated client to new model
Merge pull request #2 from amarpalsapure/newmodel

Migrated applciation to new model