added configuration management and a cookie enabled web client class