Refactored state and container's relationship:

* State is now just a memeber of Container
* Continer is now just a member of settings.Server