removing Http dependence on Config