Handling request path in the request object itself
Changed config pattern to have JSON object of collections
Added functions to handle configurations
Added DB constants
Properly handling config and constants values in the code
Some refactoring
source -> esource
Changed validateRequest
Corrected Config db functions
Handled ensureIndex logic
Merge pull request #1 from amit-handa/handling

Config, refactoring