Made the configuration non-static

This PR changes how the configuration is stored in the client.