Non-static configuration object to support dependency injection

Contains following commits:
    non-static object instantiation to support dependency injection
    modified tests
    updated readme and added changelog