[WIP] Restructure

* Muliple stores
* Private-ish state for config of stores and resources
* URL builder